package com.nine.common.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@JsonInclude(JsonInclude.Include.ALWAYS)
public class LogFormVO {

    private Long logId;

    private Long orderId;

    private Long engineerId;
        private String engineerName;
    private int logStatus;

    private LocalDateTime logTime;

    private String logDescription;

    public LogFormVO(LogForm logform, String engineerName){
        this.logId=logform.getLogId();
        this.orderId=logform.getOrderId();
        this.engineerId=logform.getEngineerId();
        this.logStatus=logform.getLogStatus();
        this.logTime=logform.getLogTime();
        this.logDescription=logform.getLogDescription();

        this.engineerName=engineerName;
    }
}
